//
//  PersonInfoiViewController.swift
//  DriverSchoolAPP
//
//  Created by Logel on 2017/6/14.
//  Copyright © 2017年 Logel. All rights reserved.
//

import UIKit

class PersonInfoiViewController: UIViewController {
    @IBOutlet weak var nameLbl: UILabel!
    @IBOutlet weak var placeLbl: UILabel!
    @IBOutlet weak var Phone: UILabel!
    @IBOutlet weak var timeLbl: UILabel!
    @IBOutlet weak var addressLbl: UILabel!

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        nameLbl.text = "姓名：\(user.name)"
        placeLbl.text = "场地：\(user.placeName)"
        Phone.text = "场地咨询：\(user.placePhone)"
        timeLbl.text = "报名日期：\(user.signUpTime)"
        addressLbl.text = "常用地址：\(user.address)"
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
